package org.dr.st_docker.aop.schemabased;

import org.springframework.aop.ThrowsAdvice;

public class MyMethodThrowAdvice implements ThrowsAdvice {
    public void afterThrowing(Exception ex){
        System.out.println("异常通知触发了。。。"+ex.getMessage());
    }
}